import { createApp } from "vue";
import pinia from "@/stores/index.js";
import App from "./App.vue";
import router from "@/router/index.js";

// 引入Animete动画库
import "animate.css";

// 引入vant组件库及样式
import Vant from "vant";
import "vant/lib/index.css";

// 引入阿里图标
import "@/assets/iconfont/iconfont.css";
import "@/assets/iconfont/iconfont.js";

// 引入初始化样式
import "@/assets/public.css";

import { Lazyload } from 'vant';
const app = createApp(App);

app.use(pinia);
app.use(router);
app.use(Vant);
app.use(Lazyload);
app.mount("#app");
